Update install.sh

Changes made for using HOME path based on the distribution instead of /home/ec2-user.