updated the conditional and added the template for creating the wn list.conf