Wrote wrapper script for grammar filter