updating for standard usage of ROOT_DIR