Map<Object, Object> savedVariables = null;
if(variables != null){
savedVariables = global.putMap(variables);
}
PreparationResult preparationResult = new BearRunner2(settings, factory).createRunContext();
List<SessionContext> $s = preparationResult.getSessions();
GlobalTaskRunner globalTaskRunner = new GlobalTaskRunner(global, phases, preparationResult);