Adjusting arguments to API call; should move to config