Moved URL launch into try/catch to prevent it repeatedly launching if script errors