Preheat oven to 350degrees. In a large skillet, heat butter over medium-high heat. Add onion and pepper; cook and stir until tender. Add corn; heat through, stirring occasionally. Remove from heat., In a small bowl, whisk eggs, milk, sugar, pepper sauce, thyme, salt and pepper; add to corn mixture. Stir in crushed crackers and green onions., Transfer to a 2-qt. baking dish coated with cooking spray. Bake, uncovered, 35-40 minutes or until a knife inserted in the center comes out clean.