Fix storage command permissions and misc

Fix storage command permissions and other misc fixes and changes.