document convert.php script