split boostrap and install to two different ways: current way and by writing json file to disk for further running by external node js script