fixed resubmitConfig.sh