runsql added to perl reports