Updated script for build new branches