added automatic config file creation
added config file to gitignore, so it is not overwritten once set