created the script to get written answers for a given date range