updates to newchar.php