fix/finish run_sql helper
fix keygen in batch_admin
fix/finsh the batch_admin recipe