Ubah generate script