Looking for a cleanup layers script
Is it possible to create a script to clean up the layers in my file before I preform a save out?
By clean up I mean just make them look clean by collapsing all layers and sublayers.
Before Cleanup

After Cleanup

Any help or suggestions are appreciated!
