Heat oil in a pan
Add shallots and sauté them for about 5min
Add garlic, red chili, butter squash and fry them for 5min
Add cooked rice and stir well to coat
Fill them in a baking dish
Scatter cheese, spinach over the rice
Pre-heat oven to 200°C
Bake for 20min or until the cheese are golden brown
Stir well and serve hot