add --dir option to clockworkd startup