finalize setup script