Doesn't work on linux (Ubuntu), fix should be instead of using 'open' to use 'xdg-open' if its on a linux system.