Prepare config when initalizing, otherwise head might already be rendered