nla: now checks for log-index.xml, usage function rewrite and format