cleaned up log generation script and data reset