update run script and gracefully kill mjpg_streamer