Sen2cor problems

some solutions related to this are provided here: Sen2Cor 2.5.5 failing for Product version: 14.5
One involves changes in the code, the other refers to temporary files which somehow prevent further successful executions of the scritps.