switch before_script to before_install and script to install