add signal handler; add invocation statement for -h argument