Snow Leopard: Fix bug in update_test_script