Script to normalize media