refactored icon generator script: improved performance, removed redundant code
All stats except attributes are now displayed green