Gen4 setup script.