Allow gui option to be set from command line