Updated preinstall script with more prereqs.