adding media permissions