replace install_dir