build script for master builds