factor together common parts of quick setup
break up long lines
further conform setup paths
further generalise setup
reorder file
make setup and setup-minimal more similar
re-condense setup into one fn