scripts for robustness study