Recalculated paths to media directories.