update code to work on Linux machines