added options to recreate map files