headless setup during init