adding in an option to test the replace '--test-replace' as well as adding in some more documentation