Modification: version file creation and copyDir