Making some server-side rendering work