updating .gitignore files
documentation update
making shell scripts POSIX-compliant