VRay zip file installation - submit to deadline with env vars


I have a bat file that i use to startup Maya with different version of vray etc. which sets the env vars up. When i submit to Deadline 10 it errors as obviously it can’t find the plugins as the env vars aren’t being set.

Do i set the bat file as a Maya 2018 render executable in configure plugins?
Is there an example bat or python wrapper file that i can take a look at online somewhere as i still cant get that to work when it tries to render the file.