updated casker's 'readlink'