tested script, "final" schema and README
Better error reporting