Register commands correctly