add an option to specifiy output directory name