added more uses for script and created a syslog client

since syslog want to send messages to stdin