Found a few problems with the sql script runner; replacing it with MyBatis' one (with some tweaks), which seems to work better