Added tmp directory, incedently fixed server restarts