use '~' instead of absolute path name