Add config setup to bootstrap
Refine the auto config of the bootstrap script