You can adjust the ingredients for how you like this recipe. I do not measure so this is just a guide of the amounts I use. I used around 1/2 of a small onion.
1 large can Boston baked beans
2 teaspoons brown sugar
1/4 teaspoon Hickory smoke flavoring
2 teaspoons ketchup
2 teaspoons mustard (grey poupon)
Very finely chopped onions
Mix all the ingredients together. Cook for 20 minutes in the microwave or over low heat in a saucepan until the onions are cooked.