Code to reload model every 5 minutes