Add signal handler