More work on directory and workflow template. thanks replaced with normal footnote command to get it working.