using installDir instead of /tmp