Generating a config file for current machine