continue package refactoring
clean up regex in build.pl and update-scripts.pl (thanks KillzoneKid!)