changed watcher to make pdf