Added debugging to bootstrap