added dynamic processor function
Merge pull request #2 from nextlanding/dynamic-processor

added dynamic processor function