changed mysql file to array, to allow for simple access by version