Move variables to config file
Append program output rather than overwriting log