Add variableonly if it is true