add replace param
Merge pull request #1 from turok/master

add replace param