Make a working offline mode with lan support