Added option for adding directory to store outfiles