add local init just before first-run