made deploy use an external ENV for staging/production