moved support code into features/support/env.js.