To fix issue #958
declare  first
Merge pull request #961 from allenp/issue-958

To fix issue #958: ENVIRONMENT config files are being ignored.