script robustness