Add environment to the default settings, fixes GH #650

This fixes GH #650