captain fixes, and a main.source issues with docopts.h and non-existant scripts when called from upstart