mercury is only available in editor mode.