smart setup for newBatchGui