Revert "oops… remove the require for the engine environment"

This reverts commit 39295cbb21d9ec1fd9f9c3f3bb9daa8d5168f6f6.