Fixing extend and configs environment call
Merge pull request #27 from vmattos/fixing-extend

Fixing extend and configs environment call