Added a way to check the creds to see if its is an object or a location and handles it accordingly.

Documenting the arguments seems like it belongs in the Usage section rather than in an FAQ section.