Added flag specification
Updated descriptions and output_variables.