add ifvar command