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

for #54