add check net connection script