improve installation script