Dev:: added the syslog writing feature. Use tail -f /var/log/syslog to see the output of the execution of the script.