Generate a correctly punctuated version of the following text: She was a good deal frightened by this very sudden change but she felt that there was no time to be lost as she was shrinking rapidly so she set to work at once to eat some of the other bit
She was a good deal frightened by this very sudden change, but she felt that there was no time to be lost, as she was shrinking rapidly; so she set to work at once to eat some of the other bit.