Added new util function to check for network connectivity and respective permissions to manisfest file