"Folder" replaced by "Directory" in the script.