fix some path issues with global installs
fix shebangs conflict