Added error handling to config load and environment require()