Extract version updating script to external file