Fix shebang, add debug & verbose options, test for bashrc / zshrc.