refine environment vars
Make the per run timeout configurable