Update GeneratePreviewForURL.m