modified exec statements