Registering multiple keyboard shortcuts

here is a an example script that when run sets the current frame to 20 then when the “5” key is pressed it sets the current frame to 50. I have been trying to modify it so it will add another class to this script that would also set the frame to 100 (or do other things) when the “6” key is pressed. so I could run the register function to add multiple keyboard shortcuts like this
But it will only run the last one called not both

Here is my code

import bpy

class WorkMacro(bpy.types.Operator):
“”“Work Macro”""
bl_idname = “object.work_macro”
bl_label = “Work Macro”
bl_options = {‘REGISTER’, ‘UNDO’}
def execute(self, context):

    bpy.context.scene.frame_current =50

    print("do work here")
    return {'FINISHED'}

addon_keymaps = []

def register(xy,xykey):
# handle the keymap
wm = bpy.context.window_manager
km =‘Object Mode’, space_type=‘EMPTY’)
kmi =, xykey, ‘PRESS’, ctrl=False, shift=False)

def unregister():

# handle the keymap
wm = bpy.context.window_manager
for km in addon_keymaps:
# clear the list
del addon_keymaps[:]

if name == “main”:
bpy.context.scene.frame_current =20