Preheat oven to 400 degrees. In a bowl, combine beef, egg, diced onion, breadcrumbs, 2 tablespoons ketchup, Worcestershire sauce, 1/4 teaspoon garlic powder, 1/4 teaspoon salt and 1/4 teaspoon pepper. Blend together and then form into a loaf pan. Brush the tops with ketchup. Place meat loaves onto the bottom rack of hot oven.
In a clean bowl, toss the green beans with olive oil, and remaining salt and pepper. Spread on baking sheet and place on the upper rack and roast until the beans are tender and the meatloaves are no longer pink; approximately 20-30 minutes (You can also check the meat with a thermometer, looking for an internal temperature of 165 degrees Fahrenheit).