use config as instance variable
Add build branch shell script
Fix build branch script