Added timed running and stocks from db