Added config file generation