Adapt go environment to new plugin