Implemented media scripts.