added conditions to make this run and insert on any 3 tables
added conditions to make this run and insert on any 3 tables

relic7/prodimages,relic7/prodimages,relic7/prodimages,relic7/prodimages,relic7/prodimages,relic7/prodimages