Rewrite getgrsec script to not use temporary files
Remove old getgrsec script