Migrate init to click