updated filterlist section with template macros