Scripts for the bootstrapping procedure