revert to old sub function in bootstrap_applications