added cmd permissions