Add auto activation via XML configuration

Fix for issue #546