Add a script to dump rendering process