sub write { $_[0]->show_status(); $_[0]->fh->print($_[1]."\n") if($_[0]->log()); print($_[1]."\n") if($_[0]->shell()); }