added unless for bpmnomtso2 files and also wrapper restart method after changes