added script after data reset