Here is an example of what you can do with this script with MINOR tweaks to the global and local scale attribute values: