Moved check for config to config.js