setting target-dir