auto-generate config file if one does not exist
auto-generate config fixed