Update build script for all branches