add an output directory
chagnes