Wrapped bootstrap script in a function taking a debug parameter.
Fixed typo.