added support for rendering public urls