removed readlink not portable option and put just local dir in tar file for darwin