Put SQL queries into their own log, add date to log names
Remove now superfluous perl script