added extra debugging logic to bootstrap script