Change to offline check, using string in place of boolean