Added some changes that should help with deploying on FreeBSD. Before it was holding onto my shell that I ran just deploy from, and killed the proc when I hit ctrl+c.