That's correct, it wasn't meant to be run on the SE5/Data folder. Obviously, I need to enforce the folder-choosing rules a bit better
I also think I need to make a function to "create new mod folder". In addition, when you open a data file, if it doesn't exist in your current mod folder, read the base-file and save the changed file to the mod directory.
I'm not sure any of that answers the problems that elsemeravin is having though. A few questions for you, Elsemeravin:
1) Do you have .NET Framework 1.1 or above on your computer?
2) Do you have SEV version 1.08?
3) Have you modified the faciltiies.txt it's reading? What it looks like is happening is that it's expecting a number and its getting a string or .. something?