added death animation. minor script changes