• Fixes multiple issues with deleting text in the script.