linkify dashboard ip so you can view it + better pep8