adding newinv.sh script and some documentation in README