Running courses, bugs often arise because a user can't connect to the internet. In particular, they can access only access local sites, e.g. only sites in the *.ncl.ac.uk domain.
Perhaps even have an argument to specify a url(s). You would actually use this function in