do not use APPLICATION_ENVIRONMENT constant outside of bootstrapper