Adds Site URL support (deals with #34)

I'm not a ruby developer, but I've just made the above tweaks and it's working perfectly for me with the latest build. :) This resolves the issue PatrickC8t had in issue #34.