Fixed issue #2 and removed offline mode.