Markdown-preview's auto start doesn't work

I’m trying to set up markdown-preview.nvim using Lazy and this is my configuration

return {
	"iamcco/markdown-preview.nvim",
	build = function()
		vim.fn["mkdp#util#install"]()
	end,
	ft = "markdown",

	config = function()
		local opts = {
			mkdp_auto_start = 1,
			mkdp_theme = "light",
		}

		for k, v in pairs(opts) do
			vim.g[k] = v
		end
	end,
}

Where mkdp_auto_start = 1 suppose to create an auto command which starts the preview after opening a .md file, but it doesn’t work.
However by running :MarkdownPreview the preview opens in light theme which shows the option mkdp_theme = "light" is actually set.
how to fix the autostart?