changed preinstall.sh scripts