Note: we should probably rename it "setup()" to avoid confusion.
Also trying to fix NOX cmdline opt, but broken at the moment.