Added arguments to input the start directory and target directory