Removed settings parameter, use only environment variable