inline scripts handled completely by WriteStream