cleans up white space
adds tmp directory with restart.txt for passenger