modifies some os related patch