Got rid of local strings

to have a string you must create a global char pointer to it then use
it.