adding py2exe script as well as cleaning up log file generation.