use after_script instead of after_success