Added script to prune expired waiting loans.