Handle database dependencies in both scripts
Updated documentation (both comments and readme), small errors fixed

Also: no more plans for gwm-tools package.