making firehose_environment param isntead of header