Add raise statements for missing env  variables