Update group error script to take permission error