This will all be documented properly in due course, but there's no need for a script. In the Update Check URI, link to wherever you'll store the latest version of qa-plugin.php (for plugins) or qa-styles.css for themes, or any other page containing the plugin/theme metadata in the same format. Q2A simply compares the Theme Version or Plugin Version values between the local and remote copies to determine whether an update is required.