added saving_freq option, which controls how often filters are saved to db separately from testing_freq