I had to put the script in to the /usr/local/bin directory and change al the configs in monit to match.