Add clean functionality to installer