consolidate existing ploy code into boot.ploy.