reordered bootstrap script