Renaming commands to endpoint