Added lever bounds and moved key check to the start of he run method.