diff -u -r1.1 README
--- README	2008/07/30 18:15:20	1.1
+++ README	2008/07/30 18:21:29
@@ -52,27 +52,31 @@
 Actions on Target database:
 ===========================
 
-5. Create user tables (and load data if required)
+5  Determine the name of the database and schema you intend to use for TOM
 
-	e.g.
-	psql -f user_tables.sql
+       TOMSCHEMA=tom
+       TESTDB=testtomdb
+       export TOMSCHEMA TESTDB
 
-6. Create TOM tables
+6. Create user tables (and load data if required)
 
-	psql -c "create schema tom;"
+	e.g.
+	createdb ${TESTDB}
+	psql -f user_tables.sql -d ${TESTDB}
 
-	psql -f create_tom_tables.sql --single-transaction -v TOM_SCHEMA='tom'
+6. Create TOM tables
 
-	Use the current schema
+	psql -c "create schema ${TOMSCHEMA};" -d ${TESTDB}
+	psql -f create_tom_tables.sql --single-transaction -v TOM_SCHEMA='${TOMSCHEMA}' -d ${TESTDB}
 
 7. Load TOM data into target database
 
 	e.g.
-	psql -f load_data_for_tom.sql --single-transaction  -v TOM_SCHEMA='tom'
+	psql -f load_data_for_tom.sql --single-transaction  -v TOM_SCHEMA='${TOMSCHEMA}' -d ${TESTDB}
 
 8. Create mapping between target catalog and source stats
 
-	psql -f get_mapping_for_tom.sql -v TOM_SCHEMA=tom
+	psql -f get_mapping_for_tom.sql -v TOM_SCHEMA=${TOMSCHEMA} -d ${TESTDB}
 
 	We need to be able to match up objects between source and target. This
 	script matches up objects that have matching schema and tablenames. If
@@ -80,7 +84,7 @@
 
 9. Setup TOM plugin 
 
-	LOAD '$libdir/plugins/tom';
+	psql -c "LOAD '\$libdir/tom_hooks';" -d ${TESTDB}
 
 10. EXPLAIN your queries
-----------------------------
