Added install mode and allowed both pull and cloning git repo branchs