added option to manually set the path for the FZAPI