new version script fixed