Differentiate between global and local installation

Closes #1