added a failure thing; renamed ppkg.sh