updating scripts for testing on local cluster