Add working version of rpcfn