Changed bin to tmp directory