commented out path checking function (might not work on windows)