README and script updated with signal handler