Fix ~/tmp as the  directory