Adding distDir to command-line tool