Finally get Mercury to work