wrapper: log file and exec passed as arguments

some more cleanup