amend flag for copy dir