Script improvements for Ball