Hook updated. Now tags, summary and header files created if it makes sense.