Added url support for offline mode.