fix bootstrap scripts