Start using $installdir/$confdir instead of $directory/~/.cfortsv, also swap places with configs in ~/.cfortsv/ and the install directory.