replacing site variables