changed read config method for vms and networks