modified command and added analyze script