Adding network check on launch