Add security checks to book_ping scripts