Changed require so that it can handle loading multiple files with one require call