Script will now update existing directories.
Minor edit.