Fixed bug with global variables; fixing logging filenames; set initialize_delay of scripts to 0