adding some stuff for directory environments