final generate ipk script