Put after_script into own script