tweaked transaction scripts, dbi, erbs