update scripts to be parameterized