Fixed some issues with the global installation