added analyze script