Re-implemented partial rendering of their script for more flexibility.