Fixed one line that I left out by mistake: python -> $PY.