Updated modulespatch for 4.65

Updated modulespatch for 4.65
Optimized modulespatch

Minimal patch has applied to increase maximum compatiblitiy