A simple Node script for updating diversity components