- Updated the deletion function to prevent process termination on errors by using 'set +e'. - Improved error handling for file operations and command outputs to ensure robustness. - Ensured that the script continues execution even if certain commands fail, enhancing overall reliability.