Added support for multiple values in the gui