entrypoint for bootstrap and run