fixing with-session issue on batches
using latest package
enabling main