Modified function

Trying to get the system API key to auth.