workdir changed to tmp