directory improvements
updated media dependent