Instead of configuring a fixed amount of dust to keep at each tier, it uses ratios (i.e. keep the same amount of T2 as T1, but keep half as much T4 as T1.) This allows it to scale well, no matter if you are just starting or an endgame player with an enormous dust stockpile. Despite that, it needs only 9 lines and one script. The default ratios should work well for basically everyone.
It also supports keeping a buffer of un-crushed ore for use with the Crafter. If you don't want this, you can disable it by editing the first line.
This works with the factory AI, but using them at the same time can get slow. If you experience extreme slowness or other issues, disable this script while using the factory AI.
Import code, as well as more details, examples, and other scripts available at my github: https://github.com/d0sboots/PerfectTower/blob/main/README.md#dust-up-tierer