IGearClient.add accepts environment variables - fixes 568

Fixes #568 
Needs fixing.