got server working with shell script wrapper