updated most functions to use fpath
encountered transport error