pre and post install