Replace target vars