Modified gentags script for working with args rather tan files.