Associative arrays does not work on Bash 3 (OS X for instance). Change t...

...o ordinary variables to be more compatible.