changed script for versioning