Added option to setup PIN automatically for CI