Fixed errors in the config
Put external config check back in