pre/post install cleanup