fixes PR #20 when using randomly generated run ids

cc @aiddroid