wrapper script provides logging to file