cleanup + add build to install hook