Replacing remotefs.sh with remotefs.py, as an introduction to system scripting in python