added fields to atom feed and fixed up some stuff in cmd.php