Fix references to envs for headpin
Merge pull request #835 from kbidarkar/fix-headpin

Fix references to envs for headpin