Extract bootstrap code