minor modifications to error file save location