Fixes for gemini parallelization: re-use previously created batch variation files. Handle ipython parallelization for gemini with nested configurations