add input directory
remove out directory