Filter-based replacing works! Now to get the require system to work and the warning system set up.