moving AWS usage so it is not dependent on DEVELOP_MODE