modify scripts for booststrapping