add option for specifying output directory
update man pages