Fix offline mode!
Merge pull request #3 from xxyy/offlinemode

Fix offline mode!