Process tags as well as branches
Fix indentation.

closes #4