Changes how 'analyze' accesses the database by providing it a mechanism to get the absolute path. This allows the script to be run from any location and still work.