How to properly register a new command to a custom TFM?