Some configuration/setting changes for nesi & hpc5; Capture exception of invalid directory defined in json file