made replace and tags variables easier to find.
explained how to change the replace and tag functions.