Adding written column to participant_last_consent view
Fixing bug in sql script
Fixing bug in mailout required report