Update script to perform multiple branches deployment