Rotation of io_map tentatively working (needs more testing)