add scripts for consolidation curve plot