Update the script with argument parsing, body reading, etc. Strengthen the filtering a lot.