Embed Scripts in a desktop application