Add unix shebang and docstrings