Added python routine for adding filters