Changes to smallbatch by Trent

Changes to small batch by Trent