Added error handling to Configurable Loader