Remove exits on clear_cache
Add set_permissions command