Use xdg-open if on a Unix platform
add refresh delay option