Refactor retrieving old bots