Fix should use before_install hook instead of before_script