script for checking access to twilio api