-dev switch for offline mode