Change hard coded slave location and instead use a temp directory.