Add patterns directory