Updated for base-4.7
Add scripts for build automation