Added some debug messages to watch shell script