Introduce offline mode for drone
Fix non-offline mode