The purge_remote_media.sh script was fixed.