Added replace variable.