added compatibility with relative urls to redirect widget
updated requirement