added lock file to list_vswitch.sh