updated script to test