minor improvement in process note
added ability to set pattern in generate.bar