script to config tag