changes for Sql injection and program_groups