This script works very well for me. I am using this for all my HDRs.
However I noticed a bug.
ev=get_ev() --- Due to this , the ev valus is set to whatever value it was during the end of the previous execution.
ex) Say I have a 5 stop the script cycles between -192 , -96 , 0 , 96 , 192 . The next time I execute the script it starts with -96 , and not -192 . I had to power off and power on my camera each time. I am not a programmer , but I figured out by making ev = 0 , instead of ev=get_ev() during the start of the script , the issue is fixed.