added SIGINT SIGHUP Handlers