modified msf_install,sh