added /media to cdpath