search and insert before and search and insert after support for dll