directory adjustments in code