Added ability to choose custom trconfig, database, and log locations from the command line.