Revert grains enviorn.

This has massively broken the develop branch. Reverting.