Update the analyze script