integrating mercury editor