add controll for branch and env
remove is_install method