Change redirect in exports.main