The committing officer may release any eligible individual to a program of community supervision and services if he believes that such individual may benefit by release to such a program and he determines that such release is not contrary to the public interest. Such release may be ordered at the time for the setting of bail, or at any time thereafter. In no case, however, shall any such individual be so released unless, prior thereto, he has voluntarily agreed to such program, and he has knowingly and intelligently waived, in the presence of the committing officer, any applicable statute of limitations and his right to speedy trial for the period of his diversion.