Add directory name to layout