allow op commands to work in pm