Extends env vars in the right order