Make token-file and cache-path optional