Generate the config file earlier