Brown hamburger with salt, pepper, garlic and onion; drain.
Add the cooked macaroni, basil, oregano, onion salt and tomato sauce to the meat.
Put half of the mixture into the prepared pan. Sprinkle on half of each of the cheeses. Top with remaining meat mixture. Sprinkle with the remaing cheese.
Bake for 35-40 minutes until cheese is melted.