updated one of the files to be more cross platform