Small update to convert_to_tpg.php script.