Modified scripts to take in a tag as a parameter