add the ability to remove media dirs