There have been a number of discussions of this on this forum. I'd start here:
You can find more by putting "Emulate 5000" in the search box. (: