updates file permissions, install.sh fix, and removes unused file