corrected create-dist script