reorganized startup according to build/target hosts