Got it working, need to work out how to get a string in another file into the var