Why is this an ESX resource? There was an option in the client file which you could add “if in job” etc. If anyone would like to have that, they could just make it themselves. I sent some changes to you to make it fully standalone which this script surely would fit better.