trying again with using the output dir