Changed apikeys example and fixed an import bug