Updated discharge code and output for Jordan