remove space before shebang

otherwise it works worse a bit in not bash shell
Merge pull request #1 from lpil/master

Use HEREDOC rather than multiple echos
Merge pull request #3 from Mendor/patch-1

remove space before shebang
Update README.md
Fix lowercase I typos