Added beginnings of map rotation support