Media script changes implemented
Merge pull request #1761 from ssushma/dev-branch

Media script changes implemented