updated renderer to accept custom filters from the lib directory