Removed webbrowser magic and fixed settings call