Fixed memory leak. The script ran for 3 weeks straight, so it's not terrible! πŸ‘Œ