made some small script changes and fixed a small bug in editor prompt for frameworks not showing primary dmg stat