fix global tag line in PAT and TOPTREE configuration file and add tag directory in output