Add debug script to test different versions