Add script to generate a statement.