Script error: The function "formatStatements" does not exist.