All necessary codes for bootstrap

bootstrap hangs when waiting for screen