only set env if there are runnable scripts