@JustSid, that works even better, thanks!

quote"#define PRAGMA_PATH "direction_name"", @Esper, I cannot get this to work. The Script editor cannot find the files that I moved to the subfolder. Atm I use this as the code:

#define PRAGMA_PATH "%EXE_DIR%\data";

I have put all files (except for .exe, WED maps .wmp and .dll files) in the subfolder 'data'. Am I doing something wrong?