Added automatic detection and addition of new puushes (needs
refactoring).