fixing media script again