Try environment plugins in reverse order

This is a possible fix to #89.

@ChrisBeaumont: If this works for you, I'll merge.