Brain: Fixing the script issues.