Updated package script to handle build revisions