Fixed config file stuff