updated pre_install.sh