updates dumb mistake with directory path variable access