Add analyze script