Add environment name as parameter to client

Daww forgot this