Unable to install software using scripts, job automatically reschedules