update to use new directory access routines