modify the install method.