Made CLI periodically refresh