Add policy-attach and detach command