Open the can of ackee and pour it into a strainer and leave to drain. Depends on how hard the ackee is (some brands are really hard) you nay want to boil the for about 5 minutes.
If you are using fresh ackee, pluck the ackee pods out of the outer skin and remove the seeds and the pink aril. Wash, place in a saucepan cover with water and cook for 15 to 20 minutes then drain.
Fire on medium, heat the oil in a saucepan then add the onions, garlic and thyme and saute until the onion is soft.
Add the tomato, sweet pepper, scotch bonnet pepper, scallions and cook for 3-4 minutes. Stir continuously.
Stir in the ackee. Cover the pot, turn the heat to low and let it cook for another 10 minutes. Stir occasionally so not to burn.