File[] directories = scriptsDir.listFiles(new DirectoryFilter());
for (File cur : directories)
{
if (!cur.getName().equals("compiled"))
{
<BUG>if (Main.getSettings().isDebugMode())
{
Main.getMainLogger().log(Level.WARNING, "Loading script: " + cur.getName());

}</BUG>
Script newScript = loadScriptFromDir(cur);

File[] directories = scriptsDir.listFiles(new DirectoryFilter());
for (File cur : directories)
{
if (!cur.getName().equals("compiled"))
{
Main.logDebugInfo(Level.WARNING, "Loading script: " + cur.getName());
Script newScript = loadScriptFromDir(cur);
