clean up build process. Add host template