Cleaned up install.sh

DRY, and stability if you run it from another directory