Replaced 'python' with '$PYTHON' for compatibility