change install script to before_install