add flickr keys switch for env vars or local file