add bootstrap and patch script