revise installation script