Added scripts to update pattern files. Can close #67.