make pre/find* scripts have a help option, db name option, and more robust to different enviroments