add group policy code