Adding print statements to report progress status during analysis.