Fixes formatting style issues and sets new API key