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 these services on behalf of the defendant and authorize the payment, from funds available to the Commission on Indigent Defense, of fees and expenses not to exceed five hundred dollars