added a start script for running as a daemon