Minor changes, adding a top-level script.