I am so so happy you rescued her from those horrible people. I literally began to cry while reading your story.
The most important thing right now is to show her how much she is loved and adored and always talk to her in a gentle loving voice no matter what.
A great idea would be to take her down to Pet Smart or Petco for some minor indoor potty training classes. Just tell the trainer exactly what you told us and that way she knows to pay extra care and attention to her.
She needs lots and lots of love and caring. As long as nobody raises their voice in your house she will be fine and adjust quickly.
Thank you for rescuing that beautiful soul. Welcome to YT