some reworking of install_github