Modify Require Function

Modify Require Function