version.sh improvements