Refactor bootstrap script for readability

It's just waiting to be refactored to be snowflake style.