(NOT READY) Added error handling when calling environ.get