Most efficient way to have a submission plugin based on a Python script?