correctly adds support for adding your own location redirect