Amend script as per Sandro's comment on sysadmin ticket

Authored by bcooksley on Jun 21 2018, 10:03 AM.