changing persistence directory from user home to tmp