fixed 'islivescript' function