Updated bootstrap method to run postBootstrap tasks