Do you need `== true`? Or could this just be `api = @whostmgr ? 'scripts2' : 'json-api'`?