Improved directory handling

grab.py expects a path argument, used to store images.
compare.sh can handle absolute and relative paths to compare.