I'm guessing you don't need it any more, but since this issue came up in admins chat, I shared the rubbish bash script I wrote for the same bullet point: https://github.com/usegalaxy-eu/shared-data/blob/master/run.sh#L12-L26