Corrected config file and commented out writeconfig function to avoid overwriting while under development
Commented out write lines to prevent overwriting during development.