Fixed hardcoding of settings folder for ENC layer