add some redirect stuff