Replace invalid use of require with load