Change all strings and integer to reference file