Changed how commands are registered. pt2