Filter body contents
Filter based on environment variable
Updating spec with environment variable check