157. The Magistrate shall if the accused is committed for trial record whether the accused is on bail or in custody and certify under his hand the record of the inquiry. *Magistrate to certify record.*