Add syslog support to some scripts