configuring watch task