Change require method