building out the script using a new approach (no OAuth needed)