close connections

add watch script
add settings