added error handler for config file not being found