cleaned up some code, commented what the overall scripts are doing