Enabled pattern-specific data. Working, but needs refactor/syntax fixes/escaping