added nightwatch button and check for whether nightwatch exists