make scripts updated so that we are able to use in hydro