Add modifyVars support as option.

Fixed my issue with modifyVars support #50