Added a config option to add an extension to the urls