initial setup after auto-generation