change formatting + automatically select ur when necessary
Merge pull request #132 from MichaelKohler/ur

change formatting + automatically select ur when necessary