small change to poly analysis script