Set parameters in snappy L2A-GIPP, resolution sen2cor 2.4.0 snap 6.0

I am getting a L2A-GIPP-custom.xml problem when executing sen2cor correction via snappy.
The execution log records the following L2A_GIPP used, which is neither the one I am trying to specify, nor the default one in home/cfg folder. Even more weird is that the custom GIPP file cerated on the fly seems to favor visibility and aerosol parameters in the L2A_GIPP.xml in the home/cfg folder, but not the DEM folder - it states “NONE”, while I have the default set to a directory on home\dem. excerpt from the log:

INFO: org.esa.snap.core.gpf.operators.tooladapter.ToolAdapterOp: Executing tool ‘Sen2Cor’ with command line: 'C:\Users\antonevdokimov.snap\auxdata\Sen2Cor-2.4.0-win64\L2A_Process.bat --resolution 60 C:\t\S2A_MSIL1C_20170527T102031_N0205_R065_T32TNS_20170527T102301.SAFE –GIP_L2A C:\Users\user\documents\sen2cor\L2A-GIPP-custom.xml’
INFO: org.esa.snap.core.gpf.operators.tooladapter.DefaultOutputConsumer: Sentinel-2 Level 2A Processor (Sen2Cor), 2.4.0, created: 2017.06.05 started …

code:

parameters = snappy.HashMap()
parameters.put = (‘GIP_L2A’, ‘C:\t\L2A_GIPP.xml’)
input_image = snappy.ProductIO.readProduct(path)
L2A_image = snappy.GPF.createProduct(‘Sen2Cor’, parameters, input_image)

The other issue is that i am used to getting all resolutions through command line interface by simply omitting resolution specification. It does not work the same through snappy for me. If omitted it only produces the 60m. I can get 10m and 20m if specify 10m - that’s fine, but still wonder if I can get them all in one go.

I am running a SNAP6.0 and sen2cor 2.4.0 standalone install configured for python.

Appreciate any help. And by the way, is there a description on what other parameters are available for sen2cor via snappy? e.g. I have seen “target_file” here on the forums but not anywhere in documentation.