Fixed Ent random and scripts will now stop as they should