added commands to setup media directories