added checkbox parameter field, should be mostly working