simplify setup script and document a little better