Made mcollective templates more flexible