Merge pull request #1 from rory/master

As requested
fix bug when trying to install via github
use more professional api endpoint