Fixed lua scripts to use "dofile" instead of "require."
For some reason the latter doesn't work on my computer.