Fixed BPF filters, added configuration options