Added optional overwrite of tags