made some test changes in analyze_cs_data.R