Adding key callbacks and paramater selection