Added template directory to output