change dir in primed file