Updated the xtractor shell script with more comments

and an option to run locally, instead of from /tmp.
I have added soem comments per method and a usage section.