Allow for custom redirect