added check and error message for config.coffee file