Fixed path error when installed globally