Pre render setup