Fixed a bug where it wasn't passing in the environment