adding a replaceInput flag
Merge pull request #1 from rorysaur/cv-replaceinput-flag-fix

adding a replaceInput flag