setup commands and permissions