Updated the script to use Youtube API v3