Sets up the configuration file