make sure temp path is created
corrected typo
created version number