merge the install and remove lines