Fix setup script generator