Added code to addwatch.php