What is the difference between require() and getScripts()?