add metacity detection, use maintainer mode when testing