Updated tags sql script for NATURAL JOIN

Removed unused items from master_template