Edits to filtergen