A couple of fixes

- Improving docs pointing to API url
- Use env to get python2.7 interpreter
- Small bugfixes