load api keys only when needed
*Created by: davidsowerby* This prevents errors looking for keys when they are not actually required
issue