Made lasttime variables dynamic with respect to dogePriceBase.db