Make sure to output script tags in FIFO order.