adding preinstall.sh script