prep-for-public: change to https ref for env