I am quite a noob when it comes to CHDK, considering that I had it installed two days ago!

But now that i have it installed and I am trying to run a simple intravalometer script on it. It runs for some time but then for some reason the camera shuts down. I have Canon ELPH 100 HS firmware version 101c and I am running chdk version 101b because I was told that this will work fine. Please help.