Added Fig for automatic linking; updated the config files and startup scripts