[Scripts] Improve the script install.