Fix case/underscore on config vars passed to script