my $get_button = $mw->Button(-text=>'Get Parameters', -command=>[\&get_params, \$job_name])->pack;