When previewing in scriptable, it works fine, but when adding it to the desktop, it displays Error: The network connection was lost.