added new variable for backend/load balancer situation; fixed versioning; bump
push env check into prerun (now covers everything); use env to bail with 503 in some cases