Only define default workdir first time