Changed site.url to root_url (fixes #11)