updated scripts for testing