Code

t0300: use write_script helper