bootstrap script (not tested at all)