more explit online/offline mode
adding some more offline capabilities