Fixes for url substituations and added example in the readme