modified install_missing script