some changes to install scripts