Revert "insertEffects: work on transitioning to environment-based"

This reverts commit 1398a34dc4d8d5091f296ef0d5016af2b325dc7b.