fine tune bootstrap script