When editing the script, your edited messages must not be longer than the original messages. This is unless you know how to move the messages to a part of the ROM that has more space, or you created a way to compress the messages into the existing space.