my $tee = new IO::Tee(\*STDOUT, new IO::File(">>$config::logfile"));