When a defendant is ordered by the court to perform community service as a condition of his or her sentence, the court in its discretion may appoint a non-profit organization to administer a program of community service relating to cleaning up the community, repairing damage, and painting buildings or other structures defaced. The non-profit organization approved by the court may determine dates and locations of the defendant's service, procure necessary cleaning or other utensils for defendant to use in performing community service, choose sites to be repainted or cleaned, and provide supervision of the defendant's activities. A defendant participating in the program shall be given reasonable rest periods as determined by the non-profit organization with the approval of the court. The county sheriff or municipal law enforcement agency may provide one or more peace officers to supervise the program. A defendant who fails to successfully complete the community service program established in this Section shall be subject to resentencing as provided in this Chapter V.
730 ILCS 5/5-5-9