Add permissions and command handler