Reworked how the path to the config file is set