Change launch order to ensure appdir is configured before bootstrap is loaded