Fixed to work on Linux and hopefully Mac
Start of the map generator