issue #65 fixed Life script. Some alteration in energy script