Added checks to prevent some php errors
  * include/gen-lastblock.php exists
  * include/announcement.html exists