make register_command syntax less braindead
make register_command less braindead