apply visualizer script