ability to specify output directory