added support for staging environment