Fix for generating the config file's path