1. updated script to do a simple filter on how many hits are on the query result. If it's
more than 1 then it's not appended.