add redirection for readlink