[PATCH 1/2] run.in: Add intelligent prepend function.