Adds hacky fix for loading config files