Added ability to specify dataset attributes
Updated naming convention and implementation of extraGlobal