mod before_script for errors.