Added possibility to use external tags instead of auto incremented