Updated the service object that handles sending of batch script (specifically If was not implemented correctly)