Enable HP timer functions in scripts (from waterwingz):
http://chdk.setepontos.com/index.php?topic=650.msg112917#msg112917