** repaired bootstrap script