adding more generic oer-search function
separating demo from script