Script not capable of running on CentOs. See the switch branch support only debian-like system and windows. Are you planning to deploy for CentOs?