Split script discussion filtering into a separate plugin