DRY'd up code by creating new replace-map
Merge pull request #1 from thenonameguy/master

DRY'd up code by creating new replace-map