Upon a finding in ex parte proceedings that investigative, expert, or other services are reasonable and necessary for the representation of the defendant, the court shall authorize the defendant's attorney to obtain such services on behalf of the defendant and shall authorize the payment, from funds available to the Office of Indigent Defense, of fees and expenses not to exceed five hundred dollar