added script that allows easy model refreshing when new data arrives