IGearClient.add accepts environment variables - fixes 568

Fixes #568