Offline mode added