IGearClient.add accepts environment variables - fixes 568

Fixes #568 
Why is this an XXX?