Modify algorithm of creation configuration files for MapServer and mapnik