Add script for version number
Use script for shared library version number