Modifying publish.php, removed debug comments