generate bootstrap file