added error handling for unconfigured/offline setup