Add generate package file script.