added util script for automatic sprite resize