proper analyze script