Changing order of gen and setup scripts.