added shebang line, docstring, and help display on error