move 'workdir' to command line options