Codechanges for PDO inside admins/admintools/tool.php