Suggestions to improve handling of URL flags