changed plot scripts to use bash shell