Scripts for analyzing basketball free throws