appversion script fixed