Improve customization of training_setup.sh script
Protect config filename variable expansion using double quotes
Merge pull request #2646 from sbesson/rebased/develop/training_script_fixes

Improve customization of training_setup.sh script (rebased onto develop)