updated to include directorys