Add script for checking and generating new build number for installed package.