Changed ~ to /home/ubuntu