added a lot of commands to the pm