new REPLACE feature
Merge pull request #12 from glebmachine/master

Add in replace feature