added the offline tool