Updated remove tags function

I should really just write a library of functions that are used across
all my scripts... but try getting people to remember to download that..