some_test_or_another is $path != current_directory
which does seem to work, thank you. Before I had been trying to do something similar, with the if statement before the print statement instead of hooked onto the end, and for some reason could not get the script to work