Added transformRedirects option