add support for global mirror mode