Use $HOME rather than /home/pi