add pre and post install commands