Modify input directory